<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="x-ua-compatible" content="ie=7" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>邮箱验证 - {:sysconf('site_name')}</title>
{include file="head"}
<link href="/static/thinkct/css/basic.css?v=1" rel="stylesheet" type="text/css" /><script language="javascript" src="/static/thinkct/js/jquery.m.js"></script><script language="javascript" src="/static/thinkct/js/layui/layui.js"></script><script language="javascript" src="/static/thinkct/js/common.js?v=1"></script><script language="javascript" src="/static/thinkct/js/member.js?v=1"></script><link href="/static/thinkct/css/member.css?v=1" rel="stylesheet" type="text/css" /><link href="/static/thinkct/js/layui/css/layui.css" rel="stylesheet" type="text/css" /><link href="/static/thinkct/css/login.css?v=1" rel="stylesheet" type="text/css" /></head>
<body>
    <!--loginHead Star -->
    <div class="loginHead">
        <div class="main clearfix">
    		<div class="logo fl"><a href="/member/"  target="_blank"><img src="{:sysconf('merchant_logo')}" /></a></div>
            <div class="loginBtnBar fr"></div>
        </div>  
    </div>
    <!--loginHead End -->
        <div class="mainMin">		
    		<!--registeredStep Star -->
    		<div class="registeredStep">
    			<ul class="clearfix">
    				<li class="one active">
    					<i class="icon"></i>
    					<em>1</em><span>填写基本信息</span>	
    				</li>
    				<li class="two active">
                        <i class="icon"></i>
                        <em>2</em><span>邮箱验证</span>          
                    </li>
    				<li class="three">
                        <em>3</em><span>注册成功</span>            
                    </li>
    			</ul>
    		</div>
    		<!--registeredStep End -->		
            <!--registeredInfo Star -->
            <div class="registeredInfo">
             <div class="reg-tab">    <h1 class="t"><i class="icon icon2"></i>邮箱验证</h1></div> 
			 <form name="check"  method="post">
                <div class="formInfo">
                    <div class="emaliSend">
                        <i class="icon"></i>
                        <p class="fz20">邮件已发送到邮箱 <input type="hidden" name="email" id="email" value="{$user.email}" /><span class="blue">{$user.email}</span></p>
                        <p class="gray fz14">请登录邮箱，查看并输入收到的验证码</p>       
						<p class="gray fz14"><input class="text checkLen o_number" style="width:100px;height: 20px;line-height: 20px;padding: 5px;border: 1px solid #ccc;	float: left;" name="vcode" type="text" d_len="3" value="" title="请输入6位验证码" /><a style='margin:0;float: left;height: 12px;border-radius:0;line-height: 12px;font-size:14px;' class="greenBtn"  onclick="verify('email');">开始验证</a></p>       			
						<p><br/><a href="javascript:void(0);" class="blue" onclick="$('#resendwrap').toggle();">没收到邮件？</a></p>
						<div id="resendwrap" style="display:none;background-color:#fefcf3;border:1px solid #de927d;padding:10px;width:300px;padding-left:30px;">
							<p>请先检查是否在垃圾邮件中</p>
							<p>如果还未收到，<input onclick="sendbtn(this,60);" data='email' type="button" class="blue" id="Sendbtn" value="重发邮件" style="padding:0 3px" /></p>
							<p>如果邮箱写错，<input class="blue" id='changemail' type="button" style="padding:0 3px" value="更换邮箱"></p>
						</div>
                    </div>   
					<input type="hidden" value="1" name="regverify" />
					<input type="hidden" value="159922457475" name="random" />
					<input type="hidden" value="email" name="action" />
					<input type="hidden" value="deae632e1840c390d6e7d7ed3193f5893d01cca82e11542afd904317ea30ef508a76f93ddadd6a2c18a5a152cccc4b5b5d199bd12206f4856eef38f11fa1c980p0TaTWYbkewqi658PgcGgoNIWjr7PEAXWqLx5mcEji/MFqXflC9kAAErjIjBZrhS" name="passkey" />
				</form>

                </div>         
            </div>
            <!--registeredInfo End -->
		</div>				
{include file="bottom"}<script type="text/javascript">
	$(document).ready(function() {
	$("#changemail").on('click',function(){
		var $this=$(this);
		layer.confirm('<b>确定要<font color="#DE927D">'+$this.val()+'</font>吗？</b>',{icon:4},function(index){
			layer.prompt({
			  formType: 0,
			  title: '<font color="#DE927D">请输入新的邮箱：</font>'
			},function(value, index, elem){
				var o=$("#email").val();
				if(!judge(value)){
				layer.tips('亲，您输入邮箱格式不正确，请重新输入', $(elem),{time: 5000});$(elem).focus();
				return false;
				}
				if(o==value){
				layer.tips('亲，您要更换的邮箱不能与当前邮箱相同', $(elem),{time: 5000});$(elem).focus();
				return false;
				}
				Aform($this.attr('id'),"new="+value+"&old="+o);
			});
		layer.close(index);
		});
	});
});
</script>
</body>
</html>